<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<div th:fragment="header">
    <header style="background-color: #4CAF50; color: white; font-size: 20px; padding: 20px; text-align: center;">
        <nav>
            <h1 style="font-size: 24px;">银龄乐游</h1>
            <ul style="font-size: 20px;">
                <li><a th:href="@{/}" style="padding: 10px 20px; background-color: #4b954d; color: white; border-radius: 5px; text-decoration: none;">首页</a></li>
                <li><a th:href="@{/trips}" style="padding: 10px 20px; background-color: #4b954d; color: white; border-radius: 5px; text-decoration: none;">热门行程</a></li>
                <li><a th:href="@{/login}" style="padding: 10px 20px; background-color: #4b954d; color: white; border-radius: 5px; text-decoration: none;">登录</a></li>
                <li><a th:href="@{/register}" style="padding: 10px 20px; background-color: #4b954d; color: white; border-radius: 5px; text-decoration: none;">注册</a></li>
                <li><a th:href="@{/contact}" style="padding: 10px 20px; background-color: #4b954d; color: white; border-radius: 5px; text-decoration: none;">联系我们</a></li>
            </ul>
        </nav>
    </header>
</div>
